<?php
namespace Home\Controller;
/**
 * 用户操作日志
 * @author Administrator
 *
 */
class OperalogController extends HomeBaseController
{
    public function index(){
        $arry=array('uid' => session('uid'));
        $count = D('UserOperalog')->getCount($arry);
        $list = D('UserOperalog')->getUserOperaLogs($arry);
        $this->assign('list', $list);
        $this->assign('count', $count);
        $this->display('operalog/index');
    }
}